package top.fzqblog.app;

import android.app.Application;


/**
 * Created by 抽离.
 */

public class MusicApplication extends Application {

    private static MusicApplication musicApplication;

    public static MusicApplication getInstance() {
        if (musicApplication == null) {
            synchronized (MusicApplication.class) {
                if (musicApplication == null) {
                    musicApplication = new MusicApplication();
                }
            }
        }
        return musicApplication;
    }


    @Override
    public void onCreate() {
        super.onCreate();
        musicApplication = this;
    }
}
